{% extends "base.html" %}
{% block page %}
<div class="div"><p>PHP增量上线</p></div>
    <div align="center" style="margin-top: 8%">
        <form name="myform" action="/update_php" method="post">
            {{ form.csrf_token }}
            <p>{{ form.selectaction }}&nbsp;{{ form.Gray }}灰度发布
            <p>请输入SVN版本号及文件路径列表:</p>
            <p>{{ form.text(cols = 80, rows = 12,style="width:auto") }}</p>
            <p>{{ form.submit(class="btn btn-info") }}</p>
        </form>
    </div>
    {% with messages = get_flashed_messages() %}
        {% if messages %}
            <div class="alert alert-success alert-dismissable" style="display:inline-block;*display:inline;*zoom:1;">
                {% for message in messages %}
                    <p>{{ message }}<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button></p>
                {% endfor %}
            </div>
        {% endif %}
    {% endwith %}
{% endblock page %}